Simple block on one line: <div>foo</div> And nested without indentation: <div> <div> <div> foo </div> </div> <div>bar</div> </div>